The right frame of the Model Editor shows the Movie's relationships as well as its attributes.
A new relationship named "Relationship" is added in the table view at the bottom of the Model Editor. The new relationship is already selected.
EOModeler automatically renames the relationship based on the name of the destination entity. For example, after connecting a to-many relationship from Movie to MovieRole, EOModeler names the relationship "movieRoles." To-one relationships are named with the singular form of the destination entity's name. For example, EOModeler names the inverse to-one relationship (from MovieRole to Movie) "movie."
A to-one relationship named "movie" in the MovieRole entity where:
A to-one relationship named "talent" in the MovieRole entity where:
A to-many relationship named "movieRoles" in the Talent entity where:
You can also use the Diagram View to edit your model. Double-click an attribute or relationship to change its name. To create a relationship and its inverse, Control-drag from the relationship's source attribute to its destination attribute.
Table of Contents
Next Section